package org.example.cet.demos.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.cet.demos.domain.dto.ClassroomDto;
import org.example.cet.demos.domain.po.Classroom;
import org.example.cet.demos.domain.po.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hq
 * @since 2024-12-18
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {
    List<Teacher> getPage(Long id);
    List<ClassroomDto> findClass(Long id);
    List<Teacher> getList();

}
